﻿html {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    background-color: #444;
}

body {
    margin: 0;
    padding: 0;
    color: #1F1F1F;
    font-size: .90em;
}


header, footer, hgroup,
nav, section {
    display: block;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: #444;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

a {
    color: #444;
}

/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    max-width: 1280px;
}

#body {
    /*background: url(images/main-bg.jpg) repeat;*/
    border-top: 1px #ddd solid;
    background-color: #F5F5F5;
    clear: both;
    padding-bottom: 35px;
}

.main-content {
    padding-left: 10px;
    padding-top: 30px;
}

header .content-wrapper {
    padding-top: 20px;
}

footer {
    clear: both;
    height: 100px;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    background-color: #e2e2e2;
    font-size: .8em;
}


/* site title
----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    font-family: "Segoe UI", Verdana, Helvetica, Sans-Serif;
    font-size: 2.3em;
    margin: 0;
}

    .site-title a, .site-title a:hover, .site-title a:active {
        background: none;
        color: #f1f1f1;
        outline: none;
        text-decoration: none;
    }


/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

    #login a {
        text-decoration: none;
    }

        #login a.username {
            background: none;
            margin: 0;
            padding: 0;
            color: #f1f1f1;
            text-decoration: underline;
        }

    #login ul {
        margin: 0;
    }

    #login li {
        display: inline;
        list-style: none;
    }

/* menu
----------------------------------------------------------*/
ul#menu {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 5px;
    padding: 0;
    text-align: right;
}

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul#menu li a {
            text-decoration: none;
        }

            ul#menu li a:hover {
                color: #ddd;
                text-decoration: none;
            }

#menu > li > a {
    color: #f1f1f1;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
}

    #menu > li > a:hover {
        color: #aaa;
        outline: none;
        padding-left: 3px;
        padding-right: 3px;
    }

    #menu > li > a.selected {
        background-color: #ff6c00;
        padding: 5px;
        color: #f1f1f1;
    }
/* menu----------------------------------------------------------*/
ul#menu- {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0 0 5px;
    padding: 0;
    text-align: right;
}

    ul#menu- li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul#menu- li a {
            text-decoration: none;
        }

            ul#menu- li a:hover {
                color: #333;
                text-decoration: none;
            }


#menu- > li > a {
    color: #666;
    outline: none;
    padding-left: 3px;
    padding-right: 3px;
}

    #menu- > li > a:hover {
        color: #aaa;
        outline: none;
        padding-left: 3px;
        padding-right: 3px;
    }

    #menu- > li > a.selected {
        background-color: #ff6c00;
        padding: 5px;
        color: #f1f1f1;
    }

/* page elements
----------------------------------------------------------*/
/* featured */

.featured .content-wrapper { /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    padding: 20px 40px 30px 40px;
}

.featured hgroup.title h1, .featured hgroup.title h2 {
    color: #444;
}

.featured p {
    font-size: 1.1em;
}

/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

    hgroup.title h1, hgroup.title h2 {
        display: inline;
    }

    hgroup.title h2 {
        font-weight: normal;
        margin-left: 3px;
    }

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* content */
article {
    float: left;
    width: 70%;
}

aside {
    float: right;
    width: 25%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}

/* login page */
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 55%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

    #loginForm .validation-summary-errors ul {
        margin: 0;
        padding: 0;
    }

    #loginForm .validation-summary-errors li {
        display: inline;
        list-style: none;
        margin: 0;
    }

    #loginForm input {
        width: 250px;
    }

        #loginForm input[type="checkbox"],
        #loginForm input[type="submit"],
        #loginForm input[type="button"],
        #loginForm button {
            width: auto;
        }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom: 5px;
    }

#socialLoginList button {
    margin-bottom: 12px;
}

.social_share {
    border: 0;
    background: transparent;
}

#logoutForm {
    display: inline;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }

label {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

    label.checkbox {
        display: inline;
    }

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 300px;
}

textarea {
    font-family: inherit;
    width: 500px;
}

    input:focus, textarea:focus {
        border: 1px solid #7ac0da;
    }

input[type="checkbox"] {
    background: transparent;
    border: inherit;
    width: auto;
}

input[type="submit"],
input[type="button"],
button {
    background-color: #d3dce0;
    border: 1px solid #787878;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    padding: 7px;
    margin-right: 8px;
    width: auto;
}

td input[type="submit"],
td input[type="button"],
td button {
    font-size: 1em;
    padding: 4px;
    margin-right: 4px;
}

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/* tables
----------------------------------------------------------*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
}

th {
    font-size: 1.2em;
    text-align: left;
    border: none 0;
    padding-left: 0;
}

    th a {
        display: block;
        position: relative;
    }

        th a:link, th a:visited, th a:active, th a:hover {
            color: #333;
            font-weight: 600;
            text-decoration: none;
            padding: 0;
        }

        th a:hover {
            color: #000;
        }

    th.asc a, th.desc a {
        margin-right: .75em;
    }

        th.asc a:after, th.desc a:after {
            display: block;
            position: absolute;
            right: 0;
            top: 0;
            font-size: 0.75em;
        }

        th.asc a:after {
            content: '▲';
        }

        th.desc a:after {
            content: '▼';
        }

td {
    padding: 0.25em 2em 0.25em 0;
    border: 0 none;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}

.div-image {
    display: inline-table;
    padding: 10px;
    max-height: 100%;
    min-width: 70%;
    max-width: 100%;
}

.crop-image {
    max-height: 600px;
    max-width: 100%;
}

.crop-mini-image {
    max-height: 300px;
    max-width: 100%;
}

.crop-micro-image {
    max-height: 150px;
    max-width: 100%;
}

.full-image {
    display: block;
    margin: 0 auto;
    max-height: 500px;
    min-width: 200px;
    max-width: 100%;
    -moz-box-shadow: 0 1px 1px #1f1d1d;
    -webkit-box-shadow: 0 1px 1px #1f1d1d;
    -webkit-box-shadow: 0 1px 1px rgba(31, 29, 29, 0.34);
    box-shadow: 0 1px 1px #1f1d1d;
    box-shadow: 0 1px 1px rgba(31, 29, 29, 0.34);
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.mini-image {
    max-height: 240px;
    max-width: 100%;
}

.download-file {
    padding: 10px;
    background-color: greenyellow;
    text-decoration: none;
    -moz-box-shadow: 0 1px 1px #000000;
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 1px 1px #000000;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 1px #000000;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.image_logo {
    max-height: 250px;
    max-width: 500px;
    width: 100%;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=90);
    -moz-opacity: 0.9;
    -khtml-opacity: 0.9;
    opacity: 0.9;
}

    .image_logo:hover {
        max-height: 250px;
        max-width: 500px;
        width: 100%;
        filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
        -moz-opacity: 1;
        -khtml-opacity: 1;
        opacity: 1;
    }

.post_image {
    max-width: 300px;
    width: 100%;
    float: right;
    -webkit-box-shadow: 1px 2px 10px 1px;
    -moz-box-shadow: 1px 2px 10px 1px;
    -o-box-shadow: 1px 2px 10px 1px;
    box-shadow: 1px 2px 10px 1px;
}


.photo_image {
    float: right;
    max-width: 1024px;
    max-height: 768px;
    width: 100%;
    height: 100%;
}

.index_image {
    width: 100%;
}

.image_screen {
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 666px;
    width: 100%;
    -webkit-box-shadow: 2px 2px 20px 1px;
    -moz-box-shadow: 2px 2px 20px 1px;
    -o-box-shadow: 2px 2px 20px 1px;
    box-shadow: 2px 2px 20px 1px;
}

#game {
    margin: 0 auto;
    border: 0;
    height: 520px;
    width: 100%;
}

.video_screen {
    height: 315px;
    max-width: 560px;
    width: 100%;
    -webkit-box-shadow: 2px 2px 20px 1px;
    -moz-box-shadow: 2px 2px 20px 1px;
    -o-box-shadow: 2px 2px 20px 1px;
    box-shadow: 2px 2px 20px 1px;
}

.image_rate {
    height: 24px;
    width: 24px;
    overflow: hidden;
}

.photo {
    display: inline-block; /* Строчно-блочный элемент */
    position: relative; /* Относительное позиционирование */
    margin-top: 10px;
}

    .photo:hover::after {
        content: attr(data-title); /* Выводим текст */
        position: absolute; /* Абсолютное позиционирование */
        left: 4px;
        right: -2px;
        bottom: 5px; /* Положение подсказки */
        z-index: 1; /* Отображаем подсказку поверх других элементов */
        background: #222028;
        background: rgba(34,32,40,0.7); /* Полупрозрачный цвет фона */
        color: #fff; /* Цвет текста */
        text-align: center; /* Выравнивание текста по центру */
        font-family: Arial, sans-serif; /* Гарнитура шрифта */
        font-size: 12px; /* Размер текста подсказки */
        padding: 5px 10px; /* Поля */
        border: 0 solid #ddd; /* Параметры рамки */
    }

.content {
    margin: 0 auto;
    padding: 10px 10px 10px 30px;
    background: url(images/trans.png) repeat;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
}

.lazy {
    display: none;
}

.photo-info {
    vertical-align: top;
    display: inline-block;
}

.exif {
    display: block;
    margin-bottom: 20px;
    padding: 2px 2px 10px 10px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: #FCFCFC;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    width: 250px;
}

.label-info {
    font-size: 0.8em;
    margin: 5px;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.info-text {
    color: #666;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}


.back-button-td {
    display: inline-block;
    width: 49%;
    background-color: #e2e2e2;
    border-radius: 2px;
    text-align: center;
}

    .back-button-td > span {
        font-size: 3em;
        color: #fff;
    }

    .back-button-td:hover {
        display: inline-block;
        width: 49%;
        background: #666;
        filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
        -moz-opacity: 0.6;
        -khtml-opacity: 0.6;
        opacity: 0.6;
        vertical-align: top;
        text-align: center;
        border-radius: 2px;
    }

        .back-button-td:hover > span {
            font-size: 3em;
            color: #ddd;
        }

#container {
    background-color: #e2e2e2;
    margin: 0 auto;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
}


.block {
    overflow: hidden;
    /*padding: 10px;
    display: inline-block;*/
    max-width: 100%;
    width: 200px;
    height: 200px;
}

.block-album {
    overflow: hidden;
    max-width: 100%;
    width: 250px;
    height: 250px;
}

    .block-album:hover::after {
        position: absolute; /* Абсолютное позиционирование */
        right: -2px;
        bottom: 5px; /* Положение подсказки */
        left: 4px;
        z-index: 1; /* Отображаем подсказку поверх других элементов */
        padding: 5px 10px; /* Поля */
        border: 0 solid #ddd; /* Параметры рамки */
        background: #222028;
        background: rgba(34,32,40,0.7); /* Полупрозрачный цвет фона */
        color: #fff; /* Цвет текста */
        content: attr(data-title); /* Выводим текст */
        text-align: center; /* Выравнивание текста по центру */
        font-size: 12px; /* Размер текста подсказки */
        font-family: Arial, sans-serif; /* Гарнитура шрифта */
    }

.image-preview {
    height: 200px !important;
}
/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px) {

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

            #login a:hover {
                color: #333;
            }

    /* menu */
    nav {
        margin-bottom: 5px;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
    }

        ul#menu li {
            margin: 0;
            padding: 0;
        }


    /* main layout
    ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }

    .content-wrapper {
        margin: 0 auto;
        padding-right: 10px;
        padding-left: 10px;
        max-width: 1280px;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }


    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    footer {
        text-align: center;
        height: auto;
        padding: 10px 0;
    }

        footer p {
            margin: 0;
        }
}
